from flask import Flask,jsonify
from flask_cors import CORS
from modules import spider
app=Flask(__name__)
CORS(app)
@app.route('/test')
def test():
   
    return jsonify(spider.getdata())

if __name__ == '__main__':
    app.run(debug=True,host='0.0.0.0')

# print(spider.getdata())